package com.leyou.user;

import com.leyou.auth.annotation.EnableJwtVerification;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author GL160601@163.com
 * @date 2020/12/16 14:10
 */
@EnableFeignClients("com.leyou.auth.client")
@SpringBootApplication(scanBasePackages = {"com.leyou.user","com.leyou.common.advice"})
@MapperScan(basePackages = "com.leyou.user.mapper")
@EnableJwtVerification
public class LyUserApplication {
    public static void main(String[] args) {
        SpringApplication.run(LyUserApplication.class, args);
    }

}
